package com.qf.service;

import com.qf.entity.TlPerson;
import com.qf.utils.ResultMsg;

import javax.servlet.http.HttpServletRequest;

public interface PersonService {

    /**
     * 查询乘车人
     * @return
     */
    ResultMsg findAllPerson(HttpServletRequest request);

    /**
     * 新增和修改
     * @param tlPerson 乘车人对象
     * @return 0:失败  1:成功
     */
    ResultMsg modify(TlPerson tlPerson,HttpServletRequest request);


    ResultMsg insert(Integer userId, String personName, String personCard, String personTel, Integer personFlag);
}
